
public class Result {
	int clientID;
	String query;
	long milliseconds;
	boolean success;
	
	public long getMilliseconds() {
		return milliseconds;
	}
	
	public boolean getSuccess() {
		return success;
	}
	
	public Result(int _clientID, String _query, long _milliseconds, boolean _success) {
		clientID = _clientID;
		query = _query;
		milliseconds = _milliseconds;
		success = _success;
	}
	
	public void AddTime(long _milliseconds) {
		milliseconds += _milliseconds;
	}
	
	public String toString() {
		return "Client " + clientID + " - " + "Query " + query + " - " + milliseconds + " ms" + " - " + (success? "success" : "fail");
	}
}
